from django.db import models

# Create your models here.

class Event(models.Model):
    # 客户名称
    name = models.CharField(max_length=200)

    # 事件具体信息
    detail = models.CharField(max_length=200)

    # 事件日期
    datetime = models.CharField(max_length=200)

    # state（区分四种检测结果）
    state = models.CharField(max_length=20,null=True,blank=True)

from django.contrib import admin
admin.site.register(Event)